# Actions

Note to developer:
The actions button is pre-programmed to popup this file, actions.html, in its own browser window. If your course needs to popup a different page when the actions button is clicked, call the framework function setActionsLocation(). For example, if you want the actions button to popup a page called "actions1t1p1.html" whenever the user is at page 1t1p1, add the following code in the onLoad handler for page 1t1p1.html:

> setActionsLocation('actions1t1p1.html');

When the page is exited, the default location for the actions button will be restored to "actions.html". Therefore you will need to make the call to setActionsLocation() in every page which requires a page other than "actions.html" to be loaded when the actions button is clicked.

If you need to change the default location for the actions button permanantly, you can call the function setDefaultActionsLocation(). The location you specify will persist until setDefaultActionsLocation() is called again with a new location specified.